From 179f80ce865ff71d0da12dbfc45723fe185d629b Mon Sep 17 00:00:00 2001 From: Rust Maintainers Date: Mon, 17 Jul 2017 12:41:59 +0100 Subject: [PATCH] u-fix-debuginfo Gbp-Pq: Name u-fix-debuginfo.patch --- src/tools/compiletest/src/runtest.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/tools/compiletest/src/runtest.rs b/src/tools/compiletest/src/runtest.rs index 1ec0838d45..51ab38b1a4 100644 --- a/src/tools/compiletest/src/runtest.rs +++ b/src/tools/compiletest/src/runtest.rs @@ -645,6 +645,9 @@ actual:\n\ script_str.push_str(&format!("file {}\n", exe_file.to_str().unwrap() .replace(r"\", r"\\"))); + if self.config.gdb_native_rust { + script_str.push_str("set language rust\n"); + } // Add line breakpoints for line in &breakpoint_lines { -- 2.30.2